//
//  LBFrameFilter.h
//  OpenGLGame
//
//  Created by Nguyen Cong Huy on 4/8/13.
//  Copyright (c) 2013 UIT. All rights reserved.
//

#ifndef __OpenGLGame__LBFrameFilter__
#define __OpenGLGame__LBFrameFilter__

#include "LBBlendTextureFilter.h"
class LBTexture;

class LBFrameFilter : public LBBlendTextureFilter{
    float xF, yF, widthF, heightF;
    float xT, yT, widthT, heightT;
    
    unsigned int frameSizeUniform;
    unsigned int textureSizeUniform;
public:
    LBFrameFilter();
    void setTextureSize(float x, float y, float width, float height);
    void setFrameSize(float x, float y, float width, float height);
    void setFrameTexture(LBTexture* frameTexture);
};

#endif
